﻿ALTER TABLE [dbo].[Right]
    ADD CONSTRAINT [FK_RIGHT_REFERENCE_USERINFO] FOREIGN KEY ([UserKeyid]) REFERENCES [dbo].[UserInfo] ([Keyid]) ON DELETE NO ACTION ON UPDATE NO ACTION;

